package com.javaweb.dao.impl;

import com.javaweb.dao.PermDao;
import com.javaweb.model.Permission;

import java.sql.SQLException;
import java.util.List;

/**
 * @desc:
 * @author: Ping
 * @date: 2024/9/24 22:43
 */

/**
 * todo: 实现全部如下方法
 */

public class PermDaoImpl implements PermDao {
    @Override
    public Integer insert(Permission perm) throws SQLException {
        return null;
    }

    @Override
    public Integer insertRolePerm(int roleId, int permId) throws SQLException {
        return null;
    }

    @Override
    public Permission selectOne(String name, String url) throws SQLException {
        return null;
    }

    @Override
    public Permission selectOneById(int permId) throws SQLException {
        return null;
    }

    @Override
    public List<Permission> selectPermsByRoleName(String roleName) throws SQLException {
        return null;
    }

    @Override
    public List<Permission> selectPermsByRoleId(int roleId) throws SQLException {
        return null;
    }

    @Override
    public Integer deleteById(int permId) throws SQLException {
        return null;
    }

    @Override
    public void updateByPerm(Permission perm) throws SQLException {

    }
}
